module dump ();





`ifdef DUMP
  initial begin

    //#44_000_000 

    //wait (tb.finance_v2_top.u_own_top.u_sub_top.u_mirp_out_top.u_mdqp_mem_ctrl.mirp_sn_enable);

    $vcdpluson;



    $fsdbAutoSwitchDumpfile(1000, "mac.fsdb", 100);
    $fsdbDumpoff;
    //$fsdbDumpSVA;
    $fsdbDumpMDA;

    //$fsdbDumpvars(0,tb.tx_mon);
    //$fsdbDumpvars(1,tb.wrapper_filter_rx_top.filter_rx_top);
    //$fsdbDumpvars(1,tb.wrapper_filter_rx_top.filter_rx_top.filter_rx_fsm);
    $fsdbDumpvars(0, tb);
    $fsdbDumpon;
    //wait ( tb.tx_sys.tcp_frame_cnt[31:0]==32'd15000 );
    //
    ////#1000_000_000 ;
    //wait (tb.tx_mon.ddco0_moni.compare_done)
    //
    #1000_000;
    //
    //if ((tb.tx_mon.ddco_done[3:0]==tb.tx_mon.ch_open[3:0])&&(tb.tx_mon.ddco_error=='d0))
    //	$display("%m: CASE_PASS, CH:%4b  !!!!!  \n",tb.tx_mon.ch_open[3:0]);
    //else
    //	$display("%m: CASE_FAIL, CH:%4b   DONE:%4b    ERR:%4b   !!!!!  \n",tb.tx_mon.ch_open[3:0],tb.tx_mon.ddco_done[3:0],tb.tx_mon.ddco_error);
    //	
    $finish;

  end

`endif






endmodule






